Tokens for For Each Entry
The For Each Entry activity makes the following token, which are available to activities placed inside it. The For Each Entry activity runs one time per entry. Each time it runs, the token values reflect the information relevant to the entry it is currently processing.
Name | Description | Sample Syntax* |
---|---|---|
CurrentEntry_Name | The name of the current entry. | %(ForEachEntry_CurrentEntry_Name) |
CurrentEntry_Id | The Laserfiche ID number of the current entry. | %(ForEachEntry_CurrentEntry_Id) |
CurrentEntry_Path | The folder path of the current entry. | %(ForEachEntry_CurrentEntry_Path) |
CurrentEntry_FullPath | The folder path of the current entry, including the entry's name. | %(ForEachEntry_CurrentEntry_FullPath) |
CurrentEntry_Repository | The repository the current entry is in. | %(ForEachEntry_CurrentEntry_Repository) |
CurrentEntry_Server | The Laserfiche Server that contains the current entry. | %(ForEachEntry_CurrentEntry_Server) |
CurrentEntry_Guid | The GUID (Globally Unique Identifier) of the current entry. | %(ForEachEntry_CurrentEntry_Guid) |
Iteration | The number of times the For Each Entry activity has run. | %(ForEachEntry_Iteration) |
*The "ForEachEntry" portion of the syntax changes to match the activity's name as specified in the Activity Name property box. Note that all non-alphanumeric characters, except underscores, are removed from the name. For example, if you rename the activity Apply [Settings] to Each, the syntax for the CurrentEntry_Id token will be %(ApplySettingstoEach_CurrentEntry_Id).